#ifndef __OBRICK_ACTION_H__
#define __OBRICK_ACTION_H__

class oBrickHit: public oHit
{
public:
	oBrickHit(oUnit* unit);
	virtual void run();
	virtual void stop();
	void onHpChanged(oUnit* owner, float oldValue, float newValue);
};

class oBrickDie: public oAction
{
public:
	oBrickDie(oUnit* unit);
	virtual void run();
	virtual void update(ccTime dt);
private:
	float _current;
};

#endif